<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>详情</title>
  <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
  <link rel="stylesheet" href="./scan.css">
  
</head>
<body>
  <p class="topbtn">
    重新扫描检查单二维码
  </p>
  <div class="detail-top">
      <div class="list-block">
        <ul>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">检查单号:</div>
              <div class="right">051351354312022</div>
            </div>
          </li>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">诊疗卡号:</div>
              <div class="right">546465464646545</div>
            </div>
          </li>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">患者姓名:</div>
              <div class="right">加某某</div>
            </div>
          </li>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">性别:</div>
              <div class="right">男</div>
            </div>
          </li>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">年龄:</div>
              <div class="right">18</div>
            </div>
          </li>
          <li class="item-content">
            <div class="item-inner">
              <div class="item-title">就诊日期:</div>
              <div class="right">2019-8-15 16:32:21</div>
            </div>
          </li>
        </ul>
      </div>
  </div>

  <div class="detail-bottom">
    
      <div class="list-block">
        <ul>
           <li class="item-content">
            <div class="item-inner">
              <div class="item-title">普通视力检查</div>
              
            </div>
          </li>
          
          <li class="item-content item-link" onclick="goinput()">
            <div class="item-media"><i class="icon icon-f7"></i></div>
            <div class="item-inner">
              <div class="item-title">近用戴镜视力</div>
              <div class="item-after"></div>
            </div>
          </li>

           <li class="item-content item-link" onclick="goinput()">
            <div class="item-media"><i class="icon icon-f7"></i></div>
            <div class="item-inner">
              <div class="item-title">运用戴镜视力</div>
              <div class="item-after"></div>
            </div>
          </li>

           <li class="item-content item-link" onclick="goinput()">
            <div class="item-media"><i class="icon icon-f7"></i></div>
            <div class="item-inner">
              <div class="item-title">近用裸眼视力</div>
              <div class="item-after"></div>
            </div>
          </li>

           <li class="item-content item-link" onclick="goinput()">
            <div class="item-media"><i class="icon icon-f7"></i></div>
            <div class="item-inner">
              <div class="item-title">远用裸眼视力</div>
              <div class="item-after"></div>
            </div>
          </li>
        </ul>
      </div>

  </div>


  <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
  <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
  <script>

      // url获取扫码结果
      function GetQueryString(name){
          var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
          var r = window.location.search.substr(1).match(reg);
          if(r!=null)return  unescape(r[2]); return null;
      }
      var code = GetQueryString("code") 
      console.log(' window.location.searchwindow.location.search', code) 

      // 跳转到录入页面
      function goinput(type){
        window.location.href = 'http://192.168.1.110:5500/view/scan/inputData.html?type='+type
      }
  </script>
</body>
</html>